package com.zy.hello;

public class HelloSpring {
    private String name;

    public HelloSpring() {
        System.out.println("无参构造。。。");
    }
    public HelloSpring(String name) {
        this.name = name;
        System.out.println("有参构造。。。");
    }

    public void Hello(){
        System.out.println("hello:"+name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }



}
